/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.attach;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.attach.AttachCatalog;

/**
 * @author CSJ (email:raulcsj@163.com)
 * @since 2013-03-05
 */
public interface AttachCatalogService {

    /****************************************
     * Insert a instace of AttachCatalog
     ****************************************/
    void insert(AttachCatalog attachcatalog) throws Exception;

    /****************************************
     * Insert instaces of AttachCatalog
     ****************************************/
    void batchInsert(AttachCatalog attachcatalog) throws Exception;

    /****************************************
     * Delete a instace of AttachCatalog
     ****************************************/
    void delete(AttachCatalog attachcatalog) throws Exception;

    /****************************************
     * Delete instaces of AttachCatalog
     ****************************************/
    void batchDelete(AttachCatalog attachcatalog) throws Exception;

    /****************************************
     * Update a instace of AttachCatalog
     ****************************************/
    void update(AttachCatalog attachcatalog) throws Exception;

    /****************************************
     * Query instaces of AttachCatalog
     ****************************************/
    List<BaseModel> queryAsList(AttachCatalog attachcatalog) throws Exception;

    /****************************************
     * Query a instaces of AttachCatalog
     ****************************************/
    BaseModel queryAsObject(AttachCatalog attachcatalog) throws Exception;
}
